package com.mingqijia.gassafety.db.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.mingqijia.gassafety.db.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 报警策略额外表
 * </p>
 *
 * @author zhangfei
 * @since 2022-02-25
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_gss_warn_strategy_ext")
@ApiModel(value="WarnStrategyExt对象", description="报警策略额外表")
public class WarnStrategyExt extends BaseEntity {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "id")
      @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "主表id")
    @TableField("strategy_id")
    private Long strategyId;

    @ApiModelProperty(value = "类型：1低报 2 高报 ")
    @TableField("type")
    private Integer type;

    @ApiModelProperty(value = "消息推送方式：0短信 1外呼")
    @TableField("push_type")
    private Integer pushType;

    @ApiModelProperty(value = "报警次数开始")
    @TableField("report_number_start")
    private Integer reportNumberStart;

    @ApiModelProperty(value = "报警次数结束")
    @TableField("report_number_end")
    private Integer reportNumberEnd;

    @ApiModelProperty(value = "推送级别1-10")
    @TableField("push_level")
    private Integer pushLevel=0;

    @ApiModelProperty(value = "页面展示顺序")
    @TableField("sort")
    private Integer sort;

    @ApiModelProperty(value = "推送员工，用;分割")
    @TableField("push_staffs")
    private String pushStaffs;

    @ApiModelProperty(value = "短信手机号，用;分割")
    @TableField("send_phones")
    private String sendPhones;
    @ApiModelProperty(value = "外呼手机号，用;分割")
    @TableField("call_phones")
    private String callPhones;
}
